// import {
//   combineReducers
// } from 'redux'
import {
  combineReducers
} from 'redux-immutable'
import {
  RecommendReducer
} from '@/pages/discover/c-pages/recommend/store'
import {
  PlayReducer
} from '@/pages/play/store/'

const reducer = combineReducers({
  //用'redux-immutable'库中的combineReducers函数后，总的state也就变成了immutable对象。读取与修改state里的值的话就要用immutable中的api读取。
  //immutable 中的对象格式和es6中的map类型相似。
  recommend: RecommendReducer,
  player: PlayReducer
})

export default reducer